/*
 * @Author: 刘美红 liumeihong@llootong.com
 * @Date: 2025-04-07 11:18:34
 * @LastEditors: 刘美红 liumeihong@llootong.com
 * @LastEditTime: 2025-04-28 17:07:18
 * @FilePath: \gzt-template\src\api\ggaq.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import http from './httpInstance';

// 获取综合数据
function getzhsj(params) {
  return http({
    method: 'post',
    url: '/integrated-workbench/v1/publicsafety/workstation/summarize',
    data: params,
  });
}

// 获取事件类型和事件趋势分析
function getsjlyqszfx(params) {
  return http({
    method: 'post',
    url: '/integrated-workbench/v1/publicsafety/workstation/statistics',
    data: params,
  });
}

// 企业类型分析
function getqylx(params) {
  return http({
    method: 'post',
    url: '/integrated-workbench/v1/safearchives/report/enterpriseanalysis',
    data: params,
  });
}
// 隐患排查分析
function gethyhpcfx(params) {
  return http({
    method: 'post',
    url: '/integrated-workbench/v1/safearchives/report/inspectissuesbar',
    data: params,
  });
}

export { gethyhpcfx, getqylx, getsjlyqszfx, getzhsj };
